翻訳と辞書
Words near each other
・ Numerical Modeling in Echocardiography
・ Numerical partial differential equations
・ Numerical range
・ Numerical Recipes
・ Numerical relativity
・ Numerical renormalization group
・ Numerical resistivity
・ Numerical response
・ Numerical semigroup
・ Numerical sight-singing
・ Numerical sign problem
・ Numerical solution of the convection–diffusion equation
・ Numerical stability
・ Numerical Stroop effect
・ Numerical taxonomy
Numerical tower
・ Numerical weather prediction
・ Numerical Wind Tunnel (Japan)
・ Numerically controlled oscillator
・ Numeris
・ Numerische Mathematik
・ Numerius (praenomen)
・ Numerius Fabius Ambustus
・ Numerius Negidius
・ Numerix
・ Numero
・ Numero 28
・ Numero sign
・ Numerology
・ Numerology (Ismailism)


Dictionary Lists
翻訳と辞書 辞書検索 [ 開発暫定版 ]
スポンサード リンク

Numerical tower : ウィキペディア英語版
Numerical tower
In Scheme and some other Lisp dialects, a numerical tower is the set of data types that represent numbers in a given programming language.
Each type in the tower conceptually "sits on" a more fundamental type, so an integer is a rational number and a number, but the inverse is not necessarily true, i.e. not every number is an integer; this asymmetry implies that a language can allow implicit coercions of numerical types—without creating semantic problems—in only one direction: coercing an integer to a rational loses no information and does not affect the results of a function, but to coerce most reals to an integer could well result in a problem (for example, the real 1/3 does not equal any integer).
The Scheme programming language defines all its arithmetic within this model, as do other Lisp dialects. 〔http://www.schemers.org/Documents/Standards/R5RS/HTML/r5rs-Z-H-9.html#%_sec_6.2.1〕 Some implementations may extend or adapt the tower. Kawa, for example, extends it with a Quantity type that is even more generic than Number. Smalltalk is another programming language that follows this model, but it has a Magnitude as superclass of Number. Another popular variant is having both exact and inexact versions of the tower or parts of it. Most languages and language implementations do not support a Scheme-like numerical tower. Some languages support it only in a limited way.
==References==



抄文引用元・出典: フリー百科事典『 ウィキペディア(Wikipedia)
ウィキペディアで「Numerical tower」の詳細全文を読む



スポンサード リンク
翻訳と辞書 : 翻訳のためのインターネットリソース

Copyright(C) kotoba.ne.jp 1997-2016. All Rights Reserved.